Skip to content

Conversation

@gohalo
Copy link

@gohalo gohalo commented Sep 24, 2025

What problem does this PR solve?

Issue Number: close #443

Problem Summary:
When the compute node crash, and then set run mode to debug with the following commands.

kubectl annotate pod hello-simple-doris-cg2-0 selectdb.com.doris/runmode=debug
kubectl annotate pod hello-simple-doris-cg2-0 apache.com.doris/runmode=debug

But the be process still startup which is unexpected.

Because the following /etc/podinfo is not mounted, and then the doris-debug command failed to check.

image

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@catpineapple
Copy link
Contributor

The correct usage is: After running kubectl annotate, wait for the next restart to enter debug mode. You may be using it incorrectly. We'll temporarily close this PR. If you have a better idea later, you can reply here or reopen this PR.

@gohalo
Copy link
Author

gohalo commented Nov 10, 2025

The correct usage is: After running kubectl annotate, wait for the next restart to enter debug mode. You may be using it incorrectly. We'll temporarily close this PR. If you have a better idea later, you can reply here or reopen this PR.

just follow the steps, but still not work, because the podinfo is not mounted, the above picture is just fixed.

this line just overwrite the podinfo configuration, that's the main reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] annotation apache.com.doris/runmode=debug not working

2 participants